home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 05.zip / BS1 part 5 / IM_3 .adf / PI_Exec.doc < prev    next >
Text File  |  1992-08-20  |  17KB  |  356 lines

  1. :
  2. : Black Belt Systems PI Module Execution Environment Document
  3. :                   Last Update: August 20th, 1992
  4. :       Software Revision Level: 1.12
  5. :       Document Revision Level: 1.12
  6. :                      Document: Ben Williams
  7. :                      Software: Barry Chalmers, Ben Williams,
  8. :                                Pete Patterson
  9. :      Operational Requirements: ARexx, Hard Disk, Level 9.11 s/w, ADOS 2.0
  10. :     Installation Requirements: 2 megs of ram, 1 meg of HD space,
  11. :                              ; REXX: already assigned.
  12. :          User-Performed Tasks: After the install has completed, two
  13. :                              ; assignments must be added to the user's
  14. :                              ; user-startup file:
  15. :                              ;    assign rxpi: rexx:rxpi
  16. :                              ;    assign cmpi: c:cmpi
  17. :
  18.  
  19. Additional Capabilities Provided by this PI System:
  20. ---------------------------------------------------
  21. Readers: Targa, JFIF/JPEG, IFF Palettes, RGB8, RGBN, ANIM OPT-5, PMBC,
  22.          Raw, SHAM, DHR, ARZ0, ARZ1, AHAM, DKB Trace, NJPL (Mac or
  23.          IBM a & b), UPB8, DEC "IRAW" format (1, 8 and 24-bit chunky
  24.          format), Rendition-6rn, Rendition ALPHA-channel data, PCX
  25.          files, Board Master PCB files
  26.  
  27. Writers: Targa, JFIF/JPEG, RGB8, PMBC, Raw, VistaPro binary altitude maps,
  28.          ANIM OPT-5, Rendition-6rn.
  29.  
  30. Effects: Tesselate, Koch fractal Snowflake, Graph generation, Erode/Dilate,
  31.          Detailed Histogram Reporter.
  32.  
  33. Display: GVP IV24, DMI Resolver, Firecracker 24; Harlequin;
  34.          also auto-display for FC24, DMI Resolver and Harlequin.
  35.          Also BCD-2000A controller driver scripts for single frame
  36.          recording animations from the IV24 board.
  37.  
  38. Capture: None available from us at this time; note that an EPSON ES300c
  39.          driver is available from: Metadigm at (714) 253 2828. The driver
  40.          may be purchased as an upgrade from the ASDG ES300c driver, if
  41.          you own it, or as a new product. Metadigm operates some rather
  42.          strange hours at the time this was written, so don't discouraged
  43.          if you don't get ahold of them on the first call - keep trying!
  44.          We endorse this driver very highly; we use it every day.
  45.  
  46. General:
  47. --------
  48. Our image processing systems now have a means to handily call up any
  49. number of Public Interface modules using a convenient "list requester"
  50. type of environment.
  51.  
  52. This document describes how to install the PI Executive environment,
  53. and how to run PI Modules from the new environment - which you'll find
  54. is extremely easy.  Once you have the PI Execution environment set up
  55. and operating, we assure you that you'll be very pleased with the
  56. results.
  57.  
  58. Performing the Initial Setup:
  59. -----------------------------
  60.  
  61.     Before you begin, you should be aware that:
  62.     ============================================
  63.     (a) The PI Executive will use about 3/4 of a meg of hard
  64.         disk space
  65.  
  66.     (b) You'll need about 1.5 megs of free ram to execute "install-pi"
  67.  
  68.     (c) Installation replaces your Default macro file (but not your macros)
  69.  
  70.     (d) You probably won't need your old Default macro file anymore.
  71.  
  72.     (e) If you DO need your old macros, they will be renamed so that
  73.         they have an extension of ".old" on them. They are still in S:
  74.  
  75.     (f) If you have been keeping your PI Modules in C: and REXX: as
  76.         was previously suggested, you may delete these files once the
  77.         installation is complete if you like, as they are no longer
  78.         used. Take care not to delete these two new files, however:
  79.  
  80.             rexx:picmdpath
  81.             rexx:launch.rexx
  82.  
  83.     (g) If you have your default macro file in the directory with the
  84.         image processor, you're going to have to manually remove or
  85.         rename the default file or the environment will not become
  86.         active.  The installation looks ONLY in the S: assignment for
  87.         your default macro files. You can remove the local Default
  88.         files either before or after installation, but you must do it
  89.         before you execute the image processor or you won't be able to
  90.         access the new features. If you miss this point, quit the
  91.         image processor, remove the local Default file by CD'ing to
  92.         that directory and typing this line:
  93.  
  94.             delete Default.#?mcr
  95.  
  96. About the Install Script:
  97. -------------------------
  98. The install script is a carefully commented AmigaDos shell script. If you
  99. are interested in (or concerned about) its operations, we encourage you to
  100. read the script. We have attempted to make the script reasonably
  101. intelligent about its installation capabilities; we understand that most
  102. people don't want to have the organization of their hard disk drive
  103. disturbed any more than is absolutely necessary.
  104.  
  105. In the script itself, we use three commands in the script which you may
  106. not be familiar with. First is extract; this is an LHARC code extractor.
  107. Second is "ramfree". This is a command we have written to let us know how
  108. much available ram there is in your system. Lastly, we have "volfree",
  109. which tells us how much free space there is on a disk volume. Both ramfree
  110. and volfree are written so that they can be used easily in scripts as you
  111. see here. Feel free to use them for your own purposes, but they may not be
  112. re-distributed at this time. They are (c) 1992 Black Belt Systems.
  113.  
  114. The Actual Installation:
  115. ------------------------
  116. Depending on whether you're installing the PI Executive from the
  117. distribution disk, or from the PIEDIST.lzh file maintained as online
  118. support, you'll choose one of the following two procedures: "A" or "B".
  119.  
  120.     A: To perform the installation from the PI Distribution disk:
  121.     =============================================================
  122.     1 - Place the PI Distribution disk in the DF0: floppy drive
  123.     2 - Obtain a CLI/SHELL window
  124.     3 - Type the following lines into the SHELL window:
  125.     
  126.             cd ram:
  127.             copy df0:Exec/#? TO ram:
  128.             execute install-pi
  129.     
  130.     B: To perform the installation from the Distribution LHARC:
  131.     ===========================================================
  132.     1 - Obtain a CLI/SHELL window
  133.     2 - Move the distribution LHARC (PIEDIST.lzh) into ram:
  134.     3 - Type the following lines into the SHELL window:
  135.     
  136.             cd ram:
  137.             lharc e PIEDIST
  138.             execute install-pi
  139.  
  140. In either case, the installation procedure will ask you some very
  141. simple questions about your system processor and so on. You're
  142. expected to enter a Y or an N and then press the RETURN key to
  143. indicate your answer of Yes or No to the questions. Read the questions
  144. carefully before answering them; an incorrect answer here could cause
  145. problems later that will require a re-install to correct.
  146.  
  147.     You're done, almost, but...
  148.     ---------------------------
  149.     There are two "Assigns" required for this list system to operate
  150.     correctly. The installation does make them for you, so it will run
  151.     perfectly the first time. But as soon as you reboot or power down,
  152.     those assigns are going to be lost. You need to add the following
  153.     two lines to your "User-Startup" file in your s: directory to make
  154.     sure that the assigns are made each time you initialize your Amiga:
  155.  
  156.         assign CMPI: c:cmpi
  157.         assign RXPI: rexx:rxpi
  158.  
  159. Finally, that's all there is to it - your PI Executive environment is now
  160. set up, ready to go.
  161.  
  162. Operation:
  163. ----------
  164. Inside the image processor, pressing function keys will provide you
  165. with specific lists of PI Modules, as follows:
  166.  
  167.     F1: PI Modules that can READ files, or read and write files
  168.     F2: PI Modules that can WRITE files, or read and write files
  169.     F3: PI Modules that create EFFECTS on images already present
  170.     F4: PI Modules that can INPUT images from hardware devices
  171.     F5: PI Modules that can OUTPUT images to hardware devices
  172.     
  173.    F10: PI Modules of ANY type - accesses all known PI Modules
  174.  
  175.     * The FKEYs F6, F7, F8 and F9 remain available for your use.
  176.  
  177. Adding Future PI Modules from other manufacturers:
  178. --------------------------------------------------
  179. To add any new PI Module (PIM), you'll follow these simple steps:
  180.  
  181.     1 - Copy the ARexx portion of the PIM into RXPI:
  182.     2 - Copy the command portion(s) of the PIM into CMPI:
  183.     3 - Edit the file CMPI:list.list to activate the PIM
  184.         (Each PIM .doc file should show you the single line needed)
  185.     4 - Print out the PIM documentation file for future reference
  186.  
  187. The first two steps are basically self-explanatory. The third is easy
  188. to do, but you do need to understand what the file CMPI:list.list does
  189. for you.
  190.  
  191. Essentially, the file CMPI:list.list is a list (no surprise, eh?) of the
  192. available PIMs you have installed. The list also contains "keywords"
  193. that indicate what "class" of PIM it is. We have currently defined the
  194. following classes of PIMs:
  195.  
  196.     1 - Reader;  these load various file formats
  197.     2 - Writer;  these save various file formats
  198.     3 - Effect;  these perform effects upon an already loaded image
  199.     4 - Capture; these retrieve images from peripheral hardware devices
  200.     5 - Display; these provide images to peripheral hardware devices
  201.  
  202. At times, a PIM may fall into more than one catagory, particularly in the
  203. case of file handling PIMs. For instance, the JFIF/JPEG PIM can load and
  204. save JPEG files, so it is both a reader and a writer. We have configured
  205. the system so that the module will show in both lists in a clear fashion.
  206.  
  207. When you add a PIM to the CMPI:list.list file, you add one line of
  208. text which names the ARexx script, describes the capabilties the PIM
  209. provides, and has the keywords which let the image processor know what
  210. class(es) the PIM falls into. Here's a possible list entry for the
  211. IFF Palette reader PIM as an example:
  212.  
  213.     "palrd",     "IFF Palette Loader",            load
  214.  
  215. The first portion of the line ("palrd") is the name of the ARexx script
  216. without the ".rexx" extension and without any path. The extension ".rexx"
  217. is added to the end of this field automatically and the string "rxpi:" is
  218. used as the path.
  219.  
  220. The second portion of the line ("IFF Palette Loader") is the description
  221. of the PIM's capabilities. This portion of the line actually appears in
  222. the list requester inside the image processor.
  223.  
  224. The third portion of the line (load) consists of a keyword which defines
  225. the class which the IFF Palette reader PIM falls into; load is the keyword
  226. for a Reader.
  227.  
  228. You can add comments to the list file on any line by simply beginning
  229. the line with an "*" (asterisk) character.
  230.  
  231. You will also see lines in the CMPI:list.list file which begin with an
  232. "!"  (exclamation point) character. These lines are text lines which
  233. are placed next to the list requester when it appears; generally, you
  234. won't want to change these lines, although you certainly can. Here are
  235. the three types of lines together:
  236.  
  237.     * comment line; has no effect and may contain anything
  238.     ! appears on-screen, next to the list requester itself
  239.     * the next lines add entries to the list requester
  240.     "jpeg load", "JPEG/JFIF file load",           load
  241.     "jpeg save", "JPEG/JFIF file save",           save
  242.     RGBxr,     "Impulse RGB8/RGBN file load",     load
  243.     eroder,    "Erode (F/X)",                     effect
  244.     imiv24r,   "GVP IV-24 Display",               display
  245.  
  246. Examining the CMPI:list.list file will be instructive if you're
  247. interested in custom modifications.
  248.  
  249.      Note
  250.      ----
  251.      Each new PIM that you obtain from us in the distribution archive
  252.      or on an upgrade disk will have a section of the documentation
  253.      devoted to it; the re-installation will replace the list.list
  254.      file with a new one containing any new required lines. The only
  255.      time this might be a problem is if you have a PI Module from
  256.      another vendor, such as Metadigm's ES300c scanner driver software;
  257.      these lines will be lost and you will have to add them yourself
  258.      again for those aftermarket PI modules to be usable again.
  259.  
  260.  
  261. Removing PI Modules from the list:
  262. ----------------------------------
  263. Edit the file "CMPI:list.list" and simply remove the single line that
  264. describes the PI Module you want to delete. This line will not begin
  265. with either a "!"  or a "*" character. If you do not wish to remove the
  266. line, but only want to temporarily disable it, place an asterisk (*)
  267. before all other characters on that line, and the line will be treated as
  268. if it were a comment (that is, it will be ignored).
  269.  
  270. Changes to the PI System since initial release:
  271. ===============================================
  272. 1.12 - August 20th, 1992
  273. ------------------------
  274.             IV24 Display - Updated, portions re-written in assembler
  275.                            for considerable speed improvement; also
  276.                            an ARexx port was added to facilitate its
  277.                            use with single frame controller scripts.
  278.                            One ARexx command is supported, "QUIT". The
  279.                            port address is 'IMIV24'. This allows you
  280.                            to display an image and then kill it as
  281.                            soon as the single frame controller has
  282.                            recorded it. See the macros "setframe.rexx"
  283.                            and "postiv.rexx" in RXPI:, these go in
  284.                            the first and third script positions for
  285.                            the sequencer and/or the morph scripts.
  286.                            This script works with the BCD 2000A
  287.                            SF controller. Note that you must run the
  288.                            supplied (by BCD) BCDARexxHandler program
  289.                            for this script to work.
  290.  
  291.     DMI Resolver Display - Updated, crashing bug fixed.
  292.     
  293. 1.11 - August 3rd, 1992
  294. -----------------------
  295.     Board Master Reader - Added, reads any PCB file saved from Black Belt
  296.                           Systems own Board Master software.
  297.  
  298. 1.10 - July 31st, 1992
  299. ----------------------
  300.              PCX Reader - Added, reads 2-256 color PCX files.
  301.  
  302. 1.09 - July 13th, 1992
  303. ----------------------
  304.              NJPL Reader - Updated, now reads _many_ more formats
  305.       HISTOGRAM Reporter - Added, provides detailed data in textfile
  306.  
  307. 1.08 - July 6th, 1992
  308. ----------------------
  309.             RGB8 Writer - Modified, saves later version RGB8 files for
  310.                           compliance with recent Impulse software
  311.  
  312. 1.07 - June 21st, 1992
  313. ----------------------
  314.        Rendition Writer - Added, Creates .6rn files
  315.        Rendition Reader - Added, Reads .6rn files
  316.             JPEG Reader - Modified, behaivoir on initial load improved
  317.  
  318. 1.06 - June 3rd, 1992
  319. ---------------------
  320.             ANIM Reader - Updated. Reader for reading DCTV mode ANIMs
  321.             ANIM Writer - Updated. Generates proper CAMG chunk
  322.  
  323. 1.05 - May 13th, 1992
  324. ---------------------
  325.             IV24 Display - Updated, fix for 1.04 v which was broken. :^(
  326.  
  327. 1.04 - May 12th, 1992
  328. ---------------------
  329.              NJPL Reader - Updated, now reads old IBM format files
  330.              DMI Display - Updated, now has auto display
  331.             IV24 Display - Updated, now handles PAL resolutions
  332.             FC24 Display - Updated for compatibility with 9.11
  333.        Harlequin Display - Added, provides NTSC and PAL auto-display
  334.  
  335. 1.03 - April 21st, 1992
  336. -----------------------
  337.              NJPL Reader - Updated, now reads MAC format files
  338.             FC24 Display - Updated, now has AUTO-redisplay capabilities
  339.              IRAW Reader - Added, DEC computer image format
  340.              RGB8 Writer - Added, Creates Impulse-compatible files
  341.             Targa Writer - Added, Creates .tga files (3 types)
  342. VistaPro Altitude Writer - Added, Creates binary landscapes from any image
  343.           Palette Reader - Added, Reads IFF format palettes two ways
  344.              ANIM Reader - Added, Animations may be read frame by frame
  345.              ANIM Writer - Added, Complete animations may now be generated
  346.              
  347.                 NOTE: The ANIM writer is not (strictly) a PI module;
  348.                       instead, it is designed to operate with the
  349.                       sequence generator. There are three ARexx
  350.                       scripts which are used:  "animwr1.rexx",
  351.                       "animwr3.rexx" and "animwr4.rexx". These
  352.                       are placed in the sequence generator's 1st,
  353.                       3rd and 4th script positions.  See the
  354.                       "i_addendum" file for details.
  355.                       
  356.